package sury.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户申请表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_yb_Application_form")
public class ApplicationFormEntity implements Serializable {
    /**
     * 申请表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户名
     */
    @TableField("username")
    private String userName;

    /**
     * 申请凭证
     */
    @TableField("certificate")
    private String certificate;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 申请状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 审批结果
     */
    @TableField("result")
    private Integer result;

    /**
     * 申请时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 处理时间
     */
    @TableField("process_time")
    private LocalDateTime processTime;
}
